package com.tzbank.entity;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.annotations.Table;

import javax.persistence.Column;
import javax.persistence.Entity;
import java.io.Serializable;

@Data
@EqualsAndHashCode(callSuper = false)
@Entity(name = "mb_standard_pageset")
@Table(appliesTo = "mb_standard_pageset", comment = "标准工单页面集合，工单ID关联的标准页面集合")
public class StandardPageset extends BaseModel implements Serializable {

	private static final long serialVersionUID = -1505516391842354548L;

	/**
	 * 工单ID
	 */
	@ApiModelProperty(value = "工单ID")
	@Column(name = "order_id", columnDefinition = "varchar(50)  NOT NULL COMMENT '工单ID'")
	private String orderId;

	/**
	 * 页面ID
	 */
	@ApiModelProperty(value = "页面ID")
	@Column(name = "page_id", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '页面ID'")
	private String pageId;

	/**
	 * 页面名称
	 */
	@ApiModelProperty(value = "页面名称")
	@Column(name = "page_name", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '页面名称'")
	private String pageName;

	/**
	 * 页面路由
	 */
	@ApiModelProperty(value = "页面路由")
	@Column(name = "page_router", columnDefinition = "varchar(50)  DEFAULT NULL COMMENT '页面路由'")
	private String pageRouter;

	/**
	 * 页面描述
	 */
	@ApiModelProperty(value = "页面描述")
	@Column(name = "page_desc", columnDefinition = "varchar(100)  DEFAULT NULL COMMENT '页面描述'")
	private String pageDesc;
	
	/**
	 * 完整页面
	 */
	@ApiModelProperty(value = "完整页面")
	@Column(name = "page_complete", columnDefinition = "varchar(2)  DEFAULT '1' NOT NULL COMMENT '完整页面'")
	private String pageComplete;

	/**
	 * 备注
	 */
	@ApiModelProperty(value = "备注")
	@Column(name = "remark", columnDefinition = "varchar(200)  DEFAULT NULL COMMENT '备注'")
	private String remark;

}
